<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>用户中心</title>
	
	<script src="../../static/js/jquery.js"></script>
	<script src="../../static/js/proj-function.min.js"></script>
    <script src="../../static/js/heard.js"></script>
    <script src="../../static/js/user_center.js"></script>
    <link rel="stylesheet" type="text/css" href="../../static/css/all-set.css">
</head>
<script type="text/javascript">
    user_center = {{user_data|safe}};
</script>

<body >
<div class="public">
	<div class="public_heard">
		<a id="link_to_device" href="#">设备监控</a>
		<a id="link_to_alarm" href='#'>报警查询</a>
		<a id="link_to_history" href='#'>历史数据</a>
		<a id="link_to_setting" href='#'>系统设置</a>
        <a id="link_to_user_setting" href="user_center.html">用户设置</a>
	</div>
</div>
<div class="public_body">
<div class="public_serach">
	用户名称：
		<select id="user_center_select_users" onchange="onSelectUser()">
{#        	<option value="3" selected = "selected">张三</option>#}
{#        	<option value="4">李四</option>#}
{#        	<option value="2">王二</option>#}
        	<option id="user_center_create_user" value="-1">创建新用户</option>>
        </select>
        <input class="input_static" readonly="true" id="input_user_name" value="username">        
	<hr>
<div style="visibility: hidden; height: 0px">
	姓:<input class="input_static" id="input_user_firstname" onchange="onChangeName()" value="first_name">
	<hr>
    </div>
	用 户 名 ：<input class="input_static" id="input_user_lastname" onchange="onChangeName()" value="last_name">
	<hr>
    用户密码：<input class="input_static" type="text" id="input_user_password" value="password">
	<hr>
	电子邮箱：<input class="input_static" id="input_user_email" value="email">
	<hr>
        活跃:<input type="checkbox"  id="input_user_active" checked="checked">
<hr>	
	<button id="button_user_center_reset" onclick="onReload()">重置</button>
	<button id="button_user_cneter_save" onclick="onSave()">保存</button> <!-- javascript:history.back(-1); -->
<!-- <link rel="import" href="user_message.html" id="page_user_message" > -->
</div>
</div>
</body>
</html>